
<UserControl
	x:Class="Goldlight.SampleApplication.Views.MainPageView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:local="clr-namespace:Goldlight.SampleApplication"
	xmlns:view="clr-namespace:Goldlight.SampleApplication.Views"
	xmlns:viewModel="clr-namespace:Goldlight.SampleApplication.ViewModels"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<UserControl.Resources>
		<viewModel:MainPageViewModel x:Key="ViewModel"/>
	</UserControl.Resources>
	<Grid DataContext="{StaticResource ViewModel}">
		<Grid.RowDefinitions>
			<RowDefinition Height="80"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition MinWidth="160" Width="160"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<GridSplitter
			Width="5"
			Grid.Column="1"
			Grid.Row="1"
			HorizontalAlignment="Left"/>
		<view:MenuView Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Top"/>
		<view:NavigationBar Grid.Column="0" Grid.Row="1"/>
		<Border
			Grid.Column="1"
			Grid.Row="1"
			Margin="6,0,0,0"
			Style="{DynamicResource MainBorderStyle}">
			<HeaderedContentControl
				Content="{Binding Path=Workspaces}"
				ContentTemplate="{DynamicResource WorkspacesTemplate}"
				Header="{Binding Resources.Goldlight}"
				Style="{DynamicResource MainPageStyle}"/>
		</Border>
	</Grid>
</UserControl>